@import "@/styles/base/index.scss";

.home-page {
  // background: #f5f0ec;
  background: #F9F6F3;
  height: 100%;

  .text-swiper-wrap {
    padding: 12px 0;
    overflow: hidden;
    // background: #F9F6F3;

    .text-swiper-view {
      outline: 2px solid #942ffb;
    }

    .text-swiper-content {
      display: inline-flex;
      animation: to-right 60s linear infinite;
    }

    @keyframes to-right {
      0% {
        transform: translateX(-25%);
      }

      100% {
        transform: translateX(0%);
      }
    }

    .text-swiper-item {
      padding: 12px 8px;
    }

    .slice {
      color: #942ffb;
      font-size: 18px;
      font-weight: 400;
      line-height: 20px;

      white-space: nowrap;
      margin-right: 40px;
      display: flex;
      flex-direction: row;
      align-items: center;

      .svg-icon-wrapper {
        margin: 0 10px;
      }
    }
  }


  .slick-dots {
    position: absolute;
    z-index: 10;
    left: 0;
    bottom: 15px;
    width: 100%;

    display: flex !important;
    justify-content: center;
    gap: 10px;

    .dot {
      display: inline-block;
      width: 10px;
      height: 10px;
      border-radius: 20px;

      background: #D4ACFD;
      opacity: 0.5;
      transition: all 0.2s ease;

    }

    .slick-active {
      .dot {
        opacity: 1;
        width: 35px;
        background: #F2C3DB;
      }
    }
  }

  .floor-title-font {
    color: $themeColor;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
  }

  // .indent-floor {
  //   padding: 24px $layoutPadding 0;

  //   .floor-inner {
  //     margin: 0 $layoutExtraPadding;
  //   }
  // }


  .floor-hd-title {
    color: $themeColor;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 1%;
    letter-spacing: 1px;
  }

  .floor-hd-line {
    flex: 1;
    font-size: 0;
    height: 0;
    border-bottom: 1px solid #942FFB;
  }

  .become-btn {
    background: #080255;
    color: #fff;
    border-radius: 8rem;
    height: 3.5rem;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    align-items: center;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    margin: 0 auto;
    padding: 1rem !important;
    width: 38rem;
    max-width: 90%;
    cursor: pointer;

    .svg-icon-wrapper {
      margin-top: 0;
    }

    &:hover {
      background: #050133;
    }

    &-supplier {
      background: #D4ACFD;
      color: #080255;

      &:hover {
        background: #BF82FD;
      }
    }
  }
}

@media (max-width: 480px) {
  .home-page {
    .floor-hd-title {
      font-size: 18px;
    }
  }
}